package com.by.mapper;

import com.by.bean.CustomerInquiryDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Hzy
 * @version 1.0
 * @date 2025/2/28  9:11
 * @description
 * @since jdk11
 */
@Mapper
public interface CustomerInquiryDetailMapper {
    /**
     * 批量保存
     *
     * @param id                     询价单id
     * @param customerInquiryDetails 询价明细
     * @return
     */
    int batchSave(@Param("inquiryId") int inquiryId, @Param("customerInquiryDetails") List<CustomerInquiryDetail> customerInquiryDetails);
}
